package popcorn.ticket.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class MoviesExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MoviesExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andMovieidIsNull() {
            addCriterion("movieId is null");
            return (Criteria) this;
        }

        public Criteria andMovieidIsNotNull() {
            addCriterion("movieId is not null");
            return (Criteria) this;
        }

        public Criteria andMovieidEqualTo(Integer value) {
            addCriterion("movieId =", value, "movieid");
            return (Criteria) this;
        }

        public Criteria andMovieidNotEqualTo(Integer value) {
            addCriterion("movieId <>", value, "movieid");
            return (Criteria) this;
        }

        public Criteria andMovieidGreaterThan(Integer value) {
            addCriterion("movieId >", value, "movieid");
            return (Criteria) this;
        }

        public Criteria andMovieidGreaterThanOrEqualTo(Integer value) {
            addCriterion("movieId >=", value, "movieid");
            return (Criteria) this;
        }

        public Criteria andMovieidLessThan(Integer value) {
            addCriterion("movieId <", value, "movieid");
            return (Criteria) this;
        }

        public Criteria andMovieidLessThanOrEqualTo(Integer value) {
            addCriterion("movieId <=", value, "movieid");
            return (Criteria) this;
        }

        public Criteria andMovieidIn(List<Integer> values) {
            addCriterion("movieId in", values, "movieid");
            return (Criteria) this;
        }

        public Criteria andMovieidNotIn(List<Integer> values) {
            addCriterion("movieId not in", values, "movieid");
            return (Criteria) this;
        }

        public Criteria andMovieidBetween(Integer value1, Integer value2) {
            addCriterion("movieId between", value1, value2, "movieid");
            return (Criteria) this;
        }

        public Criteria andMovieidNotBetween(Integer value1, Integer value2) {
            addCriterion("movieId not between", value1, value2, "movieid");
            return (Criteria) this;
        }

        public Criteria andMovienameIsNull() {
            addCriterion("movieName is null");
            return (Criteria) this;
        }

        public Criteria andMovienameIsNotNull() {
            addCriterion("movieName is not null");
            return (Criteria) this;
        }

        public Criteria andMovienameEqualTo(String value) {
            addCriterion("movieName =", value, "moviename");
            return (Criteria) this;
        }

        public Criteria andMovienameNotEqualTo(String value) {
            addCriterion("movieName <>", value, "moviename");
            return (Criteria) this;
        }

        public Criteria andMovienameGreaterThan(String value) {
            addCriterion("movieName >", value, "moviename");
            return (Criteria) this;
        }

        public Criteria andMovienameGreaterThanOrEqualTo(String value) {
            addCriterion("movieName >=", value, "moviename");
            return (Criteria) this;
        }

        public Criteria andMovienameLessThan(String value) {
            addCriterion("movieName <", value, "moviename");
            return (Criteria) this;
        }

        public Criteria andMovienameLessThanOrEqualTo(String value) {
            addCriterion("movieName <=", value, "moviename");
            return (Criteria) this;
        }

        public Criteria andMovienameLike(String value) {
            addCriterion("movieName like", value, "moviename");
            return (Criteria) this;
        }

        public Criteria andMovienameNotLike(String value) {
            addCriterion("movieName not like", value, "moviename");
            return (Criteria) this;
        }

        public Criteria andMovienameIn(List<String> values) {
            addCriterion("movieName in", values, "moviename");
            return (Criteria) this;
        }

        public Criteria andMovienameNotIn(List<String> values) {
            addCriterion("movieName not in", values, "moviename");
            return (Criteria) this;
        }

        public Criteria andMovienameBetween(String value1, String value2) {
            addCriterion("movieName between", value1, value2, "moviename");
            return (Criteria) this;
        }

        public Criteria andMovienameNotBetween(String value1, String value2) {
            addCriterion("movieName not between", value1, value2, "moviename");
            return (Criteria) this;
        }

        public Criteria andPlaceIsNull() {
            addCriterion("place is null");
            return (Criteria) this;
        }

        public Criteria andPlaceIsNotNull() {
            addCriterion("place is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceEqualTo(String value) {
            addCriterion("place =", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceNotEqualTo(String value) {
            addCriterion("place <>", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceGreaterThan(String value) {
            addCriterion("place >", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceGreaterThanOrEqualTo(String value) {
            addCriterion("place >=", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceLessThan(String value) {
            addCriterion("place <", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceLessThanOrEqualTo(String value) {
            addCriterion("place <=", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceLike(String value) {
            addCriterion("place like", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceNotLike(String value) {
            addCriterion("place not like", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceIn(List<String> values) {
            addCriterion("place in", values, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceNotIn(List<String> values) {
            addCriterion("place not in", values, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceBetween(String value1, String value2) {
            addCriterion("place between", value1, value2, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceNotBetween(String value1, String value2) {
            addCriterion("place not between", value1, value2, "place");
            return (Criteria) this;
        }

        public Criteria andLanguageIsNull() {
            addCriterion("language is null");
            return (Criteria) this;
        }

        public Criteria andLanguageIsNotNull() {
            addCriterion("language is not null");
            return (Criteria) this;
        }

        public Criteria andLanguageEqualTo(String value) {
            addCriterion("language =", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageNotEqualTo(String value) {
            addCriterion("language <>", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageGreaterThan(String value) {
            addCriterion("language >", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageGreaterThanOrEqualTo(String value) {
            addCriterion("language >=", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageLessThan(String value) {
            addCriterion("language <", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageLessThanOrEqualTo(String value) {
            addCriterion("language <=", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageLike(String value) {
            addCriterion("language like", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageNotLike(String value) {
            addCriterion("language not like", value, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageIn(List<String> values) {
            addCriterion("language in", values, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageNotIn(List<String> values) {
            addCriterion("language not in", values, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageBetween(String value1, String value2) {
            addCriterion("language between", value1, value2, "language");
            return (Criteria) this;
        }

        public Criteria andLanguageNotBetween(String value1, String value2) {
            addCriterion("language not between", value1, value2, "language");
            return (Criteria) this;
        }

        public Criteria andMainactorIsNull() {
            addCriterion("mainActor is null");
            return (Criteria) this;
        }

        public Criteria andMainactorIsNotNull() {
            addCriterion("mainActor is not null");
            return (Criteria) this;
        }

        public Criteria andMainactorEqualTo(String value) {
            addCriterion("mainActor =", value, "mainactor");
            return (Criteria) this;
        }

        public Criteria andMainactorNotEqualTo(String value) {
            addCriterion("mainActor <>", value, "mainactor");
            return (Criteria) this;
        }

        public Criteria andMainactorGreaterThan(String value) {
            addCriterion("mainActor >", value, "mainactor");
            return (Criteria) this;
        }

        public Criteria andMainactorGreaterThanOrEqualTo(String value) {
            addCriterion("mainActor >=", value, "mainactor");
            return (Criteria) this;
        }

        public Criteria andMainactorLessThan(String value) {
            addCriterion("mainActor <", value, "mainactor");
            return (Criteria) this;
        }

        public Criteria andMainactorLessThanOrEqualTo(String value) {
            addCriterion("mainActor <=", value, "mainactor");
            return (Criteria) this;
        }

        public Criteria andMainactorLike(String value) {
            addCriterion("mainActor like", value, "mainactor");
            return (Criteria) this;
        }

        public Criteria andMainactorNotLike(String value) {
            addCriterion("mainActor not like", value, "mainactor");
            return (Criteria) this;
        }

        public Criteria andMainactorIn(List<String> values) {
            addCriterion("mainActor in", values, "mainactor");
            return (Criteria) this;
        }

        public Criteria andMainactorNotIn(List<String> values) {
            addCriterion("mainActor not in", values, "mainactor");
            return (Criteria) this;
        }

        public Criteria andMainactorBetween(String value1, String value2) {
            addCriterion("mainActor between", value1, value2, "mainactor");
            return (Criteria) this;
        }

        public Criteria andMainactorNotBetween(String value1, String value2) {
            addCriterion("mainActor not between", value1, value2, "mainactor");
            return (Criteria) this;
        }

        public Criteria andDirectorIsNull() {
            addCriterion("director is null");
            return (Criteria) this;
        }

        public Criteria andDirectorIsNotNull() {
            addCriterion("director is not null");
            return (Criteria) this;
        }

        public Criteria andDirectorEqualTo(String value) {
            addCriterion("director =", value, "director");
            return (Criteria) this;
        }

        public Criteria andDirectorNotEqualTo(String value) {
            addCriterion("director <>", value, "director");
            return (Criteria) this;
        }

        public Criteria andDirectorGreaterThan(String value) {
            addCriterion("director >", value, "director");
            return (Criteria) this;
        }

        public Criteria andDirectorGreaterThanOrEqualTo(String value) {
            addCriterion("director >=", value, "director");
            return (Criteria) this;
        }

        public Criteria andDirectorLessThan(String value) {
            addCriterion("director <", value, "director");
            return (Criteria) this;
        }

        public Criteria andDirectorLessThanOrEqualTo(String value) {
            addCriterion("director <=", value, "director");
            return (Criteria) this;
        }

        public Criteria andDirectorLike(String value) {
            addCriterion("director like", value, "director");
            return (Criteria) this;
        }

        public Criteria andDirectorNotLike(String value) {
            addCriterion("director not like", value, "director");
            return (Criteria) this;
        }

        public Criteria andDirectorIn(List<String> values) {
            addCriterion("director in", values, "director");
            return (Criteria) this;
        }

        public Criteria andDirectorNotIn(List<String> values) {
            addCriterion("director not in", values, "director");
            return (Criteria) this;
        }

        public Criteria andDirectorBetween(String value1, String value2) {
            addCriterion("director between", value1, value2, "director");
            return (Criteria) this;
        }

        public Criteria andDirectorNotBetween(String value1, String value2) {
            addCriterion("director not between", value1, value2, "director");
            return (Criteria) this;
        }

        public Criteria andReleasedateIsNull() {
            addCriterion("releaseDate is null");
            return (Criteria) this;
        }

        public Criteria andReleasedateIsNotNull() {
            addCriterion("releaseDate is not null");
            return (Criteria) this;
        }

        public Criteria andReleasedateEqualTo(Date value) {
            addCriterionForJDBCDate("releaseDate =", value, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateNotEqualTo(Date value) {
            addCriterionForJDBCDate("releaseDate <>", value, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateGreaterThan(Date value) {
            addCriterionForJDBCDate("releaseDate >", value, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("releaseDate >=", value, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateLessThan(Date value) {
            addCriterionForJDBCDate("releaseDate <", value, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("releaseDate <=", value, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateIn(List<Date> values) {
            addCriterionForJDBCDate("releaseDate in", values, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateNotIn(List<Date> values) {
            addCriterionForJDBCDate("releaseDate not in", values, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("releaseDate between", value1, value2, "releasedate");
            return (Criteria) this;
        }

        public Criteria andReleasedateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("releaseDate not between", value1, value2, "releasedate");
            return (Criteria) this;
        }

        public Criteria andDurationIsNull() {
            addCriterion("duration is null");
            return (Criteria) this;
        }

        public Criteria andDurationIsNotNull() {
            addCriterion("duration is not null");
            return (Criteria) this;
        }

        public Criteria andDurationEqualTo(Integer value) {
            addCriterion("duration =", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotEqualTo(Integer value) {
            addCriterion("duration <>", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationGreaterThan(Integer value) {
            addCriterion("duration >", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationGreaterThanOrEqualTo(Integer value) {
            addCriterion("duration >=", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationLessThan(Integer value) {
            addCriterion("duration <", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationLessThanOrEqualTo(Integer value) {
            addCriterion("duration <=", value, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationIn(List<Integer> values) {
            addCriterion("duration in", values, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotIn(List<Integer> values) {
            addCriterion("duration not in", values, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationBetween(Integer value1, Integer value2) {
            addCriterion("duration between", value1, value2, "duration");
            return (Criteria) this;
        }

        public Criteria andDurationNotBetween(Integer value1, Integer value2) {
            addCriterion("duration not between", value1, value2, "duration");
            return (Criteria) this;
        }

        public Criteria andMovieinfoIsNull() {
            addCriterion("movieInfo is null");
            return (Criteria) this;
        }

        public Criteria andMovieinfoIsNotNull() {
            addCriterion("movieInfo is not null");
            return (Criteria) this;
        }

        public Criteria andMovieinfoEqualTo(String value) {
            addCriterion("movieInfo =", value, "movieinfo");
            return (Criteria) this;
        }

        public Criteria andMovieinfoNotEqualTo(String value) {
            addCriterion("movieInfo <>", value, "movieinfo");
            return (Criteria) this;
        }

        public Criteria andMovieinfoGreaterThan(String value) {
            addCriterion("movieInfo >", value, "movieinfo");
            return (Criteria) this;
        }

        public Criteria andMovieinfoGreaterThanOrEqualTo(String value) {
            addCriterion("movieInfo >=", value, "movieinfo");
            return (Criteria) this;
        }

        public Criteria andMovieinfoLessThan(String value) {
            addCriterion("movieInfo <", value, "movieinfo");
            return (Criteria) this;
        }

        public Criteria andMovieinfoLessThanOrEqualTo(String value) {
            addCriterion("movieInfo <=", value, "movieinfo");
            return (Criteria) this;
        }

        public Criteria andMovieinfoLike(String value) {
            addCriterion("movieInfo like", value, "movieinfo");
            return (Criteria) this;
        }

        public Criteria andMovieinfoNotLike(String value) {
            addCriterion("movieInfo not like", value, "movieinfo");
            return (Criteria) this;
        }

        public Criteria andMovieinfoIn(List<String> values) {
            addCriterion("movieInfo in", values, "movieinfo");
            return (Criteria) this;
        }

        public Criteria andMovieinfoNotIn(List<String> values) {
            addCriterion("movieInfo not in", values, "movieinfo");
            return (Criteria) this;
        }

        public Criteria andMovieinfoBetween(String value1, String value2) {
            addCriterion("movieInfo between", value1, value2, "movieinfo");
            return (Criteria) this;
        }

        public Criteria andMovieinfoNotBetween(String value1, String value2) {
            addCriterion("movieInfo not between", value1, value2, "movieinfo");
            return (Criteria) this;
        }

        public Criteria andMoviepirceIsNull() {
            addCriterion("moviePirce is null");
            return (Criteria) this;
        }

        public Criteria andMoviepirceIsNotNull() {
            addCriterion("moviePirce is not null");
            return (Criteria) this;
        }

        public Criteria andMoviepirceEqualTo(Double value) {
            addCriterion("moviePirce =", value, "moviepirce");
            return (Criteria) this;
        }

        public Criteria andMoviepirceNotEqualTo(Double value) {
            addCriterion("moviePirce <>", value, "moviepirce");
            return (Criteria) this;
        }

        public Criteria andMoviepirceGreaterThan(Double value) {
            addCriterion("moviePirce >", value, "moviepirce");
            return (Criteria) this;
        }

        public Criteria andMoviepirceGreaterThanOrEqualTo(Double value) {
            addCriterion("moviePirce >=", value, "moviepirce");
            return (Criteria) this;
        }

        public Criteria andMoviepirceLessThan(Double value) {
            addCriterion("moviePirce <", value, "moviepirce");
            return (Criteria) this;
        }

        public Criteria andMoviepirceLessThanOrEqualTo(Double value) {
            addCriterion("moviePirce <=", value, "moviepirce");
            return (Criteria) this;
        }

        public Criteria andMoviepirceIn(List<Double> values) {
            addCriterion("moviePirce in", values, "moviepirce");
            return (Criteria) this;
        }

        public Criteria andMoviepirceNotIn(List<Double> values) {
            addCriterion("moviePirce not in", values, "moviepirce");
            return (Criteria) this;
        }

        public Criteria andMoviepirceBetween(Double value1, Double value2) {
            addCriterion("moviePirce between", value1, value2, "moviepirce");
            return (Criteria) this;
        }

        public Criteria andMoviepirceNotBetween(Double value1, Double value2) {
            addCriterion("moviePirce not between", value1, value2, "moviepirce");
            return (Criteria) this;
        }

        public Criteria andMoviepictureIsNull() {
            addCriterion("moviePicture is null");
            return (Criteria) this;
        }

        public Criteria andMoviepictureIsNotNull() {
            addCriterion("moviePicture is not null");
            return (Criteria) this;
        }

        public Criteria andMoviepictureEqualTo(String value) {
            addCriterion("moviePicture =", value, "moviepicture");
            return (Criteria) this;
        }

        public Criteria andMoviepictureNotEqualTo(String value) {
            addCriterion("moviePicture <>", value, "moviepicture");
            return (Criteria) this;
        }

        public Criteria andMoviepictureGreaterThan(String value) {
            addCriterion("moviePicture >", value, "moviepicture");
            return (Criteria) this;
        }

        public Criteria andMoviepictureGreaterThanOrEqualTo(String value) {
            addCriterion("moviePicture >=", value, "moviepicture");
            return (Criteria) this;
        }

        public Criteria andMoviepictureLessThan(String value) {
            addCriterion("moviePicture <", value, "moviepicture");
            return (Criteria) this;
        }

        public Criteria andMoviepictureLessThanOrEqualTo(String value) {
            addCriterion("moviePicture <=", value, "moviepicture");
            return (Criteria) this;
        }

        public Criteria andMoviepictureLike(String value) {
            addCriterion("moviePicture like", value, "moviepicture");
            return (Criteria) this;
        }

        public Criteria andMoviepictureNotLike(String value) {
            addCriterion("moviePicture not like", value, "moviepicture");
            return (Criteria) this;
        }

        public Criteria andMoviepictureIn(List<String> values) {
            addCriterion("moviePicture in", values, "moviepicture");
            return (Criteria) this;
        }

        public Criteria andMoviepictureNotIn(List<String> values) {
            addCriterion("moviePicture not in", values, "moviepicture");
            return (Criteria) this;
        }

        public Criteria andMoviepictureBetween(String value1, String value2) {
            addCriterion("moviePicture between", value1, value2, "moviepicture");
            return (Criteria) this;
        }

        public Criteria andMoviepictureNotBetween(String value1, String value2) {
            addCriterion("moviePicture not between", value1, value2, "moviepicture");
            return (Criteria) this;
        }

        public Criteria andMoviestatusIsNull() {
            addCriterion("movieStatus is null");
            return (Criteria) this;
        }

        public Criteria andMoviestatusIsNotNull() {
            addCriterion("movieStatus is not null");
            return (Criteria) this;
        }

        public Criteria andMoviestatusEqualTo(Integer value) {
            addCriterion("movieStatus =", value, "moviestatus");
            return (Criteria) this;
        }

        public Criteria andMoviestatusNotEqualTo(Integer value) {
            addCriterion("movieStatus <>", value, "moviestatus");
            return (Criteria) this;
        }

        public Criteria andMoviestatusGreaterThan(Integer value) {
            addCriterion("movieStatus >", value, "moviestatus");
            return (Criteria) this;
        }

        public Criteria andMoviestatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("movieStatus >=", value, "moviestatus");
            return (Criteria) this;
        }

        public Criteria andMoviestatusLessThan(Integer value) {
            addCriterion("movieStatus <", value, "moviestatus");
            return (Criteria) this;
        }

        public Criteria andMoviestatusLessThanOrEqualTo(Integer value) {
            addCriterion("movieStatus <=", value, "moviestatus");
            return (Criteria) this;
        }

        public Criteria andMoviestatusIn(List<Integer> values) {
            addCriterion("movieStatus in", values, "moviestatus");
            return (Criteria) this;
        }

        public Criteria andMoviestatusNotIn(List<Integer> values) {
            addCriterion("movieStatus not in", values, "moviestatus");
            return (Criteria) this;
        }

        public Criteria andMoviestatusBetween(Integer value1, Integer value2) {
            addCriterion("movieStatus between", value1, value2, "moviestatus");
            return (Criteria) this;
        }

        public Criteria andMoviestatusNotBetween(Integer value1, Integer value2) {
            addCriterion("movieStatus not between", value1, value2, "moviestatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}